﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Uiplupload</title>
    <link href="~/assets/plupload/jquery.ui.plupload/css/jquery.ui.plupload.css" rel="stylesheet" />
    <link href="~/Content/jquery-ui.min.css" rel="stylesheet" />

    <script src="~/assets/plupload/moxie.min.js"></script>
    <script src="~/Scripts/jquery-1.10.2.min.js"></script>
    <script src="~/Scripts/jquery-ui.min.js"></script>
    <script src="~/assets/plupload/plupload.dev.js"></script>
    <script src="~/assets/plupload/jquery.ui.plupload/jquery.ui.plupload.js"></script>
    <script src="~/assets/plupload/i18n/zh_CN.js"></script>
</head>
<body>
    <div id="uiuploader">
        
            <p>Your browser doesn't have Flash, Silverlight or HTML5 support.</p>
        </div>
        <script>
            $("#uiuploader").plupload({
                runtimes: 'html5,flash,silverlight,html4',
                url: '@Url.Action("Upload", "Test")',
                filters: [
                    { title: "Image files", extensions: "jpg,gif,png" }
                ],
                rename: true,
                sortable: true,
                flash_swf_url: '@Url.Content("~/assets/plupload/Moxie.swf")',
                silverlight_xap_url: '@Url.Content("~/assets/plupload/Moxie.xap")',
            });
        </script>
</body>
</html>
